#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include"pot.h"

int size(sl* head)
{
	sl* cur = head->next;
	int len = 0;
	while (cur != NULL)
	{
		len++;
		cur = cur->next;
	}
	return len;
}